const fs = require('fs');
let arguments = process.argv.splice(2);
let env = arguments[0];

const src_env = `export const env = '${env}'`;
fs.writeFile('./src/env.ts', src_env, 'utf8', (err) => {
  if (err) throw err;
});
